package socilgirl.dell.mydemo.greendao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Unique;

/**
 * Created by dell on 2017/10/30.
 * 想测试是否可以建立两个数据库文件，没有写
 */

@Entity
public class UserInfoTwo {

    @Id
    private String userid;
    private String userName;
    private String userPhone;
    @NotNull
    private String passWord;
    private boolean isRealName;
    private String headPas;
//    private Organ organ;
//    class Organ {
//        private String starMachine;
//        private String pushMachine;
//        private String friendMachine;
//    }
    @Generated(hash = 200633834)
    public UserInfoTwo(String userid, String userName, String userPhone,
            @NotNull String passWord, boolean isRealName, String headPas) {
        this.userid = userid;
        this.userName = userName;
        this.userPhone = userPhone;
        this.passWord = passWord;
        this.isRealName = isRealName;
        this.headPas = headPas;
    }
    @Generated(hash = 1746044017)
    public UserInfoTwo() {
    }
    public String getUserid() {
        return this.userid;
    }
    public void setUserid(String userid) {
        this.userid = userid;
    }
    public String getUserName() {
        return this.userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getUserPhone() {
        return this.userPhone;
    }
    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }
    public String getPassWord() {
        return this.passWord;
    }
    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }
    public boolean getIsRealName() {
        return this.isRealName;
    }
    public void setIsRealName(boolean isRealName) {
        this.isRealName = isRealName;
    }
    public String getHeadPas() {
        return this.headPas;
    }
    public void setHeadPas(String headPas) {
        this.headPas = headPas;
    }
}
